<div ng-controller="FeeOrderDetailCtrl">
    <div class="bg-light lter b-b wrapper-sm">
        <h1 class="m-n font-thin h4">{{ title }}</h1>
    </div>

    <div class="wrapper-sm">
        <div class="panel panel-default">

            <div class="panel-body">

                <form name="step1" id="form" class="form-validation form-horizontal" novalidate>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-t-n m-b-sm">
                            基本信息
                        </div>

                        <label class="col-lg-1 pull-left control-label">订单编号  :</label>
                        <label class="col-lg-2 control-label text-left">{{orderId}}</label>
                        <label class="col-lg-1 pull-left control-label">下单时间  :</label>
                        <label class="col-lg-2 control-label text-left">{{placeOrderTime}}</label>
                        <label class="col-lg-1 pull-left control-label">紧急程度<span class="text-danger">*</span></label>
                        <label class="control-label pull-left">{{urgencyDegree}}</label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 pull-left control-label">计划专员  :</label>
                        <label class="col-lg-2 control-label text-left">{{planOfficer}}</label>
                        <label class="col-lg-1 pull-left control-label">商务专员  :</label>
                        <label class="col-lg-2 control-label text-left">{{businessOfficer}}</label>

                        <label class="col-lg-1 pull-left control-label">客服专员  :</label>
                        <label class="col-lg-2 control-label text-left">{{customerServiceOfficer}}</label>

                        <label class="pull-left control-label">调度专员  :</label>
                        <label class="col-lg-2 control-label text-left">{{dispatchOfficer}}</label>
                    </div>

                    <div class="form-group">

                        <label class="col-lg-1 pull-left control-label">客户单位  :</label>
                        <label class="col-lg-5 control-label text-left">{{clientName}}</label>
                        <label class="pull-left control-label">发货计划人<span class="text-danger">*</span></label>
                        <label class="col-lg-2 control-label text-left">{{consignorName}}</label>
                        <label class="pull-left control-label">发货人电话<span class="text-danger">*</span></label>
                        <label class="col-lg-2 control-label text-left">{{consignorPhone}}</label>
                    </div>

                    <div class="form-group">

                        <label class="col-lg-1 pull-left control-label">发货内容  :</label>
                        <label class="col-lg-10 control-label text-left">{{shipPriceContent}}</label>
                    </div>

                    <div class="form-group">
                        <div class="panel-heading font-bold">
                            线路货物信息
                        </div>
                        <div class="wrapper font-bold">
                            总线路货物信息
                        </div>
                        <div class="wrapper-sm m-t-n">

                            <div class="table-responsive">
                                <div ui-grid="orderTotalList" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:76px;min-width:1000px; overflow-x:hidden;">
                                    <div class="watermark" ng-if="!orderTotalList.data.length">暂无数据</div>
                                </div>
                            </div>

                        </div>

                        <div class="wrapper font-bold">
                            子线路货物信息
                        </div>
                        <div class="wrapper-sm m-t-n">
                            <div class="table-responsive">
                                <div ui-grid="orderChildrenList" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{heightChilder}}px; min-width:1000px;
                                     overflow-x:hidden;">
                                    <div class="watermark" ng-if="!orderChildrenList.data.length">暂无数据</div>
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            承运商信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">承运商名称<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="carrier_name"  class="form-control input-sm" ng-model="carrierName" disabled="disabled" name="carrierName">
                        </div>

                        <label class="pull-left control-label">承运商号码</label>
                        <div class="col-lg-2">
                            <input type="text" id="carrier_phone" class="form-control input-sm" ng-model="carrierPhone" disabled="disabled" name="carrierPhone">
                        </div>

                        <label class="pull-left control-label">承运商类型</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="carrierType" name="carrierType" disabled="disabled" ng-options="x.value as x.text for x in carrierTypeList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </div>

                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            承运商车辆信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">车牌号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="car_code" class="form-control input-sm" ng-model="carCode" disabled="disabled" name="carCode">
                        </div>

                        <label class="pull-left control-label">驾驶员号码</label>
                        <div class="col-lg-2">
                            <input type="text" id="diver_phone" class="form-control input-sm" ng-model="driverPhone" disabled="disabled" name="driverPhone">
                        </div>

                        <label class="pull-left control-label">驾驶员姓名</label>
                        <div class="col-lg-2">
                            <input type="text" id="driver_name" class="form-control input-sm" ng-model="driverName" disabled="disabled" name="driverName">
                        </div>
                        <div class="line pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">车长</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="carLength" name="carLength" disabled="disabled" ng-options="x.value as x.text for x in carLengthList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="w-xxss pull-left control-label">车型</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="carType" name="carType" disabled="disabled" ng-options="x.value as x.text for x in carTypeList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            应付价格信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">应付单价<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="carrier_receivable_price" class="form-control input-sm" ng-model="carrierReceivablePirce" disabled="disabled" name="carrierReceivablePirce">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <select class="form-control input-sm" ng-model="carrierReceivablePirceUnit" name="urgencyUnit" disabled="disabled" ng-options="x.value as x.text for x in receivablePriceUnitList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="m-l pull-left control-label">应付说明</label>
                        <div class="col-lg-6">
                            <input type="text" id="carrier_receivable_remarks" class="form-control input-sm" ng-model="carrierReceivableRemarks" disabled="disabled" name="carrierReceivableRemarks">
                        </div>
                        <div class="line pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">预付款<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="advance_price_one" class="form-control input-sm" ng-model="advancePriceOne" disabled="disabled" name="advancePriceOne">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <select class="form-control input-sm" ng-model="advancePriceTypeOne" name="advancePriceType" disabled="disabled" ng-options="x.value as x.text for x in paymentMethodList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="col-lg-2">
                            <input type="text" id="advance_price_two" class="form-control input-sm" ng-model="advancePriceTwo" disabled="disabled" name="advancePriceTwo">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <select class="form-control input-sm" ng-model="advancePriceTypeTwo" name="advancePriceType" disabled="disabled" ng-options="x.value as x.text for x in paymentMethodList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="m-l pull-left control-label">回单款</label>
                        <div class="col-lg-2">
                            <input type="text" id="receipt_price" class="form-control input-sm" ng-model="receiptPrice" disabled="disabled" name="receiptPrice">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <select class="form-control input-sm" ng-model="receiptPriceType" name="advancePriceType" disabled="disabled" ng-options="x.value as x.text for x in paymentMethodList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="line pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">银行卡号</label>
                        <div class="col-lg-3">
                            <input type="text" id="bank_code" class="form-control input-sm" ng-model="bankCode" disabled="disabled" name="bankCode">
                        </div>
                        <label class="w-xsss pull-left control-label">开户银行</label>
                        <div class="col-lg-2">
                            <input type="text" id="open_bank" class="form-control input-sm" ng-model="openBank" disabled="disabled" name="openBank">
                        </div>
                        <label class="w-xsss pull-left control-label">持卡人姓名</label>
                        <div class="col-lg-2">
                            <input type="text" id="holder02" class="form-control input-sm" ng-model="holder" disabled="disabled" name="holder">
                        </div>
                         <div class="line pull-in"></div>
 
                        <label class="col-lg-1 pull-left control-label">回单款银行卡号</label>

                         <div class="col-lg-3">
 
                             <input type="text" id="receipt_price_bank_code" class="form-control input-sm" ng-model="receiptPriceBankCode" disabled="disabled" name="receiptPriceBankCode">
 
                         </div>

                         <label class="w-xsss pull-left control-label">回单款开户银行</label>

                         <div class="col-lg-2">

                             <input type="text" id="receipt_price_open_bank" class="form-control input-sm" ng-model="receiptPriceOpenBank" disabled="disabled" name="receiptPriceOpenBank">

                         </div>

                         <label class="w-xsss pull-left control-label">回单款持卡人姓名</label>

                         <div class="col-lg-2">

                             <input type="text" id="receipt_price_holder" class="form-control input-sm" ng-model="receiptPriceHolder" disabled="disabled" name="receiptPriceHolder">

                        </div>
                    </div>
                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            回单状态
                        </div>
                        <label class="col-lg-1 pull-left control-label">回单状态</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="receiptStatus" name="carrierType" disabled="disabled" ng-options="x.value as x.text for x in receiptStatusList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="m-l pull-left control-label">回单签收日期</label>
                        <div class="col-lg-2">
                            <div class="input-group input-group-sm date">
                                <input datetimepicker plugintype="datetime" id="receipt_time" name="receipt-time" ng-model="receiptTime" placeholder="回单签收日期" class="form-control" type="text" disabled="disabled" />
                                <span class="input-group-addon">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            合同信息录入
                        </div>
                        <label class="col-lg-1 pull-left control-label">合同号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="contract_number" class="form-control input-sm" ng-model="contractNumber" disabled="disabled" name="contractNumber">
                        </div>

                        <label class="w-xsss pull-left control-label">合同货物数量<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="contract_goods_num" class="form-control input-sm" ng-model="contractGoodsNum" disabled="disabled" name="contractGoodsNum">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <select class="form-control input-sm" ng-model="contractGoodsNumUnit" name="contractGoodsNumUnit" disabled="disabled" ng-options="x.value as x.text for x in goodsNumUnitList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="m-l pull-left control-label">合同日期</label>
                        <div class="col-lg-2">
                            <div class="input-group input-group-sm date">
                                <input datetimepicker plugintype="datetime" id="contract_time" ng-model="contractTime" name="contract-time" placeholder="合同日期" class="form-control" type="text" disabled="disabled" />
                                <span class="input-group-addon">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                            </div>
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">油卡状态</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="oilCardStatus" name="oilCardStatus" ng-disabled="isCanChangeContractStatus" ng-options="x.value as x.text for x in oilCardStatusList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <label class="w-xsss pull-left control-label">油卡卡号</label>
                        <div class="col-lg-2">
                            <input type="text" id="oil_card_num" class="form-control input-sm" ng-model="oilCarNum" disabled="disabled" name="oilCarNum">
                        </div>
                        <label class="pull-left control-label">合同状态</label>
                        <div class="col-lg-2">
                            <select class="form-control input-sm" ng-model="contractStatus" name="contractStatus" ng-disabled="isCanChangeContractStatus" ng-options="x.value as x.text for x in contractStatusList">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="line  pull-in"></div>
                        <div ng-show="true">
                            <label class="col-lg-1 pull-left control-label">运费总价(系统生成参考)</label>
                            <div class="col-lg-2">
                                <input type="text" id="total_price" class="form-control input-sm" ng-model="totalPrice" disabled="disabled" name="totalPrice">
                            </div>
                            <label class="pull-left control-label m-l-n-sm">元</label>
                        </div>
                        <div ng-show="true">
                            <label class="w-xsss pull-left control-label">申请费用总和</label>
                            <div class="col-lg-2">
                                <input type="text" id="total_fee_price" class="form-control input-sm" ng-model="totalFeePrice" disabled="disabled" name="totalFeePrice">
                            </div>
                            <label class="pull-left control-label">元</label>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="panel-heading font-bold">
                            费用信息
                        </div>
                        <div class="wrapper-sm">
                            <div class="table-responsive">
                                <div ui-grid="feeList" ui-grid-pagination ui-grid-auto-resize style="height:76px;min-width:1000px;">
                                    <div class="watermark" ng-if="!feeList.data.length">暂无数据</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm">
                            备注信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">备注</label>
                        <div class="col-lg-10">
                            <textarea class="form-control" ng-model="carryOrderRemarks" placeholder="备注" name="carryOrderRemarks" ng-disabled="isCanUpdateRemarks"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm">
                            附件信息
                        </div>
                        <div class="panel-body" id="uploading">
                            <div ng-if="isShowFJ">
                                <div class="col-md-4" ng-if="drivingloader.queue.length">
                                    <label class="pull-left m-l m-r">驾驶证</label>
                                    <div class="col-md-3 form-group">
                                        <input type="file" style="width:72px;" name="driver-uploader" nv-file-select="" uploader="Driveruploader" ng-disabled="drivingloader.queue.length" ng-show="false" />
                                    </div>
                                </div>
                                <div class="wrapper-sm" ng-if="drivingloader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ drivingloader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th >大小</th>
                                                <th >进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item in drivingloader.queue">
                                                <td>
                                                    <strong>{{ item.fileName }}</strong>
                                                    <!-- <div ng-thumb="{ file: item._file, width: 400 ,path:item.imgSrc}"></div> -->
                                                    <div ng-show="item.imgSrc">
                                                        <img data-ng-src="{{item.imgSrc}}" style="width:300px" ng-click="handleImgClick(item)" data-toggle="modal" data-target="#imgRotate">
                                                    </div>
                                                </td>
                                                <td  nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                <td >
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                                    <button type="button" class="btn btn-primary btn-xs" ng-click="[drivingloader.downLoad(item)]" ng-disabled="!item.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="col-md-4" ng-if="Traileruploader.queue.length">
                                    <label class="pull-left m-l m-r">挂车证</label>
                                    <div class="col-md-3 form-group">
                                        <input type="file" style="width:72px;" nv-file-select="" name="trailer-uploader" uploader="Traileruploader" ng-disabled="Traileruploader.queue.length" ng-show="false" />
                                    </div>
                                </div>
                                <div class="wrapper-sm" ng-if="Traileruploader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ Traileruploader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th >大小</th>
                                                <th >进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item1 in Traileruploader.queue">
                                                <td>
                                                    <strong>{{ item1fileName }}</strong>
                                                    <!-- <div ng-thumb="{ file: item1._file, width: 400 ,path:item1.imgSrc}"></div> -->
                                                    <div>
                                                        <img data-ng-src="{{item1.imgSrc}}" style="width:300px" ng-click="handleImgClick(item1)" data-toggle="modal" data-target="#imgRotate">>
                                                    </div>
                                                </td>
                                                <td  nowrap>{{ item1.fileSize/1024/1024|number:2 }} MB</td>
                                                <td >
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item1.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item1.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item1.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item1.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                                    <button type="button" class="btn btn-primary btn-xs" ng-click="[Traileruploader.downLoad(item1)]" ng-disabled="!item1.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="col-md-4" ng-if="DRIVuploader.queue.length">
                                    <label class="pull-left m-l m-r">行驶证</label>
                                    <div class="col-md-3 form-group">
                                        <input type="file" style="width:72px;" nv-file-select="" name="DRIV-uploader" uploader="DRIVuploader" ng-disabled="DRIVuploader.queue.length" ng-show="false" />
                                    </div>
                                </div>
                                <div class="wrapper-sm" ng-if="DRIVuploader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ DRIVuploader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th>大小</th>
                                                <th>进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item2 in DRIVuploader.queue">
                                                <td>
                                                    <strong>{{ item2fileName }}</strong>
                                                    <!-- <div ng-thumb="{ file: item2._file, width: 400,path:item2.imgSrc }"></div> -->
                                                    <div >
                                                        <img data-ng-src="{{item2.imgSrc}}" style="width:300px" ng-click="handleImgClick(item2)" data-toggle="modal" data-target="#imgRotate">
                                                    </div>
                                                </td>
                                                <td  nowrap>{{ item2.fileSize/1024/1024|number:2 }} MB</td>
                                                <td >
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item2.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item2.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item2.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item2.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                                    <button type="button" class="btn btn-primary btn-xs" ng-click="[DRIVuploader.downLoad(item2)]" ng-disabled="!item2.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="col-md-4" ng-if="IDcarduploader.queue.length">
                                    <label class="pull-left m-l m-r">身份证</label>
                                    <div class="col-md-3 form-group">
                                        <input type="file" style="width:72px;" nv-file-select="" name="IDCard-uploader" uploader="IDcarduploader" ng-disabled="IDcarduploader.queue.length" ng-show="false" />
                                    </div>
                                </div>
                                <div class="wrapper-sm" ng-if="IDcarduploader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ IDcarduploader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th>大小</th>
                                                <th>进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item3 in IDcarduploader.queue">
                                                <td>
                                                    <strong>{{ item3fileName }}</strong>
                                                    <!-- <div ng-thumb="{ file: item3._file, width: 400 ,path:item3.imgSrc}"></div> -->
                                                    <div >
                                                        <img data-ng-src="{{item3.imgSrc}}" style="width:300px" ng-click="handleImgClick(item3)" data-toggle="modal" data-target="#imgRotate">
                                                    </div>
                                                </td>
                                                <td  nowrap>{{ item3.fileSize/1024/1024|number:2 }} MB</td>
                                                <td >
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item3.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item3.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item3.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item3.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                                    <button type="button" class="btn btn-primary btn-xs" ng-click="[IDcarduploader.downLoad(item3)]" ng-disabled="!item3.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="col-md-4" ng-if="Carspicuploader.queue.length">
                                    <label class="pull-left m-l m-r">车辆照片</label>
                                    <div class="col-md-3 form-group">
                                        <input type="file" style="width:72px;" nv-file-select="" uploader="Carspicuploader" name="cars-pic-uploader" ng-disabled="Carspicuploader.queue.length" ng-show="false" />
                                    </div>
                                </div>
                                <div class="wrapper-sm" ng-if="Carspicuploader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ Carspicuploader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th>大小</th>
                                                <th>进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item4 in Carspicuploader.queue">
                                                <td>
                                                    <strong>{{ item4fileName }}</strong>
                                                    <!-- <div ng-thumb="{ file: item4._file, width: 400 ,path:item4.imgSrc}"></div> -->
                                                    <div>
                                                        <img data-ng-src="{{item4.imgSrc}}" style="width:300px" ng-click="handleImgClick(item4)" data-toggle="modal" data-target="#imgRotate">
                                                    </div>
                                                </td>
                                                <td nowrap>{{ item4.fileSize/1024/1024|number:2 }} MB</td>
                                                <td>
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item4.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td class="text-center">
                                                    <span ng-show="item4.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item4.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item4.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                                    <button type="button" class="btn btn-primary btn-xs" ng-click="[Carspicuploader.downLoad(item4)]" ng-disabled="!item4.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div ng-repeat="child in loaderInfoList" ng-if="isShowHD">
                                <div class="panel-body">
                                    <div class="col-md-4">
                                        <label class="pull-left m-l m-r">回单{{$index + 1}}</label>
                                        <div class="col-md-3 form-group">
                                            <input type="file" style="width:72px;" nv-file-select="" uploader="{{child.loaderName}}" options="{'childerId':'{{child.id}}'}" ng-disabled="child.uploader.queue.length" ng-show="false" />
                                        </div>
                                    </div>
                                    <div class="wrapper-sm">
                                        <div class="line  pull-in"></div>
                                        <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                            <span class="">上传文件数: <b class="badge bg-info">{{ child.uploader.queue.length }}</b></span>
                                        </div>
                                        <table class="table bg-white-only b-a">
                                            <thead>
                                                <tr>
                                                    <th width="50%">名称</th>
                                                    <th>大小</th>
                                                    <th>进度</th>
                                                    <th>状态</th>
                                                    <th>操作</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr ng-repeat="item in child.uploader.queue">
                                                    <td>
                                                        <strong>{{ item.fileName }}</strong>
                                                        <!-- <div  ng-thumb="{ file: item._file, width:canvsaWidth ,path:item.imgSrc }"></div> -->
                                                        <div>
                                                            <img data-ng-src="{{item.imgSrc}}" style="width:300px" ng-click="handleImgClick(item)" data-toggle="modal" data-target="#imgRotate">
                                                        </div>
                                                    </td>
                                                    <td nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                    <td>
                                                        <div class="progress" style="margin-bottom: 0;">
                                                            <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                        </div>
                                                    </td>
                                                    <td class="text-center">
                                                        <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                        <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                        <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                    </td>
                                                    <td nowrap>
                                                        <button type="button" class="btn btn-primary btn-xs" ng-click="[child.uploader.downLoad(item)]" ng-disabled="!item.isSuccess">
                                                            <span class="fa fa-cloud-download"></span> 下载
                                                        </button>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-lg-7">
                            <button class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="audited()" ng-show="auditedBtnHide"><i class="fa fa-check"></i>审核通过</button>
                            <button class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-click="returnManage()" ng-show="returnManageBtnHide"><i class="fa fa-mail-reply-all"></i>退回办理</button>
                            <button class="pull-right-xs btn btn-sm btn-info btn-addon" ng-click="changeContractStatus()" ng-show="!isCanChangeContractStatus"><i class="fa fa-check"></i>确定</button>
                            <button class="pull-right-xs btn btn-sm btn-warning btn-addon" ng-click="back()"><i class="fa fa-mail-reply"></i>返回</button>
                        </div>
                    </div>
                    <!--orderTotal Modal -->
                    <div class="modal fade bs-example-modal-lg" id="orderTotal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="orderTotalModalLabel">总线路货物信息</h4>
                                </div>
                                <div class="modal-body">
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-7">
                                            <ng-area city-list="shipCityList" area-list="shipAreaList" province="shipProvinceCode" city="shipCityCode" area="shipAreaCode" ng-disabled="true"></ng-area>
                                            <br />
                                            <input type="text" id="ship_detail" class="form-control" ng-model="shipdetail" placeholder="请填写详细地址" disabled="disabled" name="shipdetail">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-7">
                                            <ng-area city-list="deliverCityList" area-list="deliverAreaList" province="deliverProvinceCode" city="deliverCityCode" area="deliverAreaCode" ng-disabled="true"></ng-area>
                                            <br />
                                            <input type="text" id="deliver_detail" class="form-control" ng-model="deliverdetail" placeholder="请填写详细地址" name="deliverdetail" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">中转地</label>
                                        <div class="col-lg-6">
                                            <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                                <span ng-repeat="item in viaListView">
                                                    <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                        <span>{{item.province}}{{item.city}}{{item.county}}</span>
                                                    </span>
                                                </span>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="ship_time" class="form-control " ng-model="shipTime" disabled="disabled" name="shipTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="arive_time" class="form-control " ng-model="arriveTime" disabled="disabled" name="arriveTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">里程数</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="mileage" class="form-control " ng-model="mileage" disabled="disabled" name="mileage">

                                        </div>
                                        <label class="pull-left control-label">公里</label>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="goodsType" class="form-control" ng-model="goodsTypeId" disabled="disabled" ng-options="x.id as x.name for x in goodsTypeList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="goodsId02" class="form-control" ng-model="goodsId" disabled="disabled" ng-options="x.id as x.name for x in goodList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="tonRange" class="form-control" ng-model="tonRange" disabled="disabled" ng-options="x.id as x.name for x in tonRangeList">
                                                <option value="">其它</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="goods_num" class="form-control " ng-model="goodsNum" disabled="disabled" name="goodsNum">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <select class="form-control" id="goodsNumUnit" ng-model="goodsNumUnit" name="goodsNumUnit" disabled="disabled" ng-options="x.value as x.text for x in goodsNumUnitList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量2</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="goods_num_two" class="form-control " ng-model="goodsNumTwo" disabled="disabled" name="goodsNumTwo">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <select class="form-control" id="goodsNumUnitTwo" ng-model="goodsNumUnitTwo" name="goodsNumUnitTwo" ng-options="x.value as x.text for x in goodsNumUnitList" disabled="disabled">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--orderChildren Modal -->
                    <div class="modal fade bs-example-modal-lg" id="orderChildren" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="orderChildrenModalLabel">子线路货物信息</h4>
                                </div>
                                <div class="modal-body">
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-7">
                                            <ng-area city-list="shipCityList" area-list="shipAreaList" province="shipProvinceCode" city="shipCityCode" area="shipAreaCode" ng-disabled="true"></ng-area>
                                            <br />
                                            <input type="text" id="ship_address" class="form-control" ng-model="shipAddress" placeholder="请填写详细地址" disabled="disabled" name="shipAddress">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-7">
                                            <ng-area city-list="deliverCityList" area-list="deliverAreaList" province="deliverProvinceCode" city="deliverCityCode" area="deliverAreaCode" ng-disabled="true"></ng-area>
                                            <br />
                                            <input type="text" id="deliver_address" class="form-control" ng-model="deliverAddress" placeholder="请填写详细地址" name="deliverAddress" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">中转地</label>
                                        <div class="col-lg-6">
                                            <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                                <span ng-repeat="item in viaListView">
                                                    <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                        <span>{{item.province}}{{item.city}}{{item.county}}</span>
                                                    </span>
                                                </span>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="ship_time02" class="form-control " ng-model="shipTime" disabled="disabled" name="shipTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="arrive_time" class="form-control " ng-model="arriveTime" disabled="disabled" name="arriveTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">里程数</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="mileage02" class="form-control " ng-model="mileage" disabled="disabled" name="mileage">
                                        </div>
                                        <label class="pull-left control-label">公里</label>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="goodsType02" class="form-control" ng-model="goodsTypeId" disabled="disabled" ng-options="x.id as x.name for x in goodsTypeList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="goodsId" class="form-control" ng-model="goodsId" disabled="disabled" ng-options="x.id as x.name for x in goodList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select id="tonRange02" class="form-control" ng-model="tonRange" disabled="disabled" ng-options="x.id as x.name for x in tonRangeList">
                                                <option value="">其它</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="goods_num02" class="form-control " ng-model="goodsNum" disabled="disabled" name="goodsNum">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <select class="form-control" id="goodsNumUnit02" ng-model="goodsNumUnit" name="goodsNumUnit" disabled="disabled" ng-options="x.value as x.text for x in goodsNumUnitList">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量2</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="goods_num_two02" class="form-control " ng-model="goodsNumTwo" disabled="disabled" name="goodsNumTwo">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <select class="form-control" id="goodsNumUnitTwo02" ng-model="goodsNumUnitTwo" name="goodsNumUnitTwo" ng-options="x.value as x.text for x in goodsNumUnitList" disabled="disabled">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">结算方式<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select class="form-control" id="settleType" ng-model="settleType" name="settleType" ng-options="x.value as x.text for x in settleTypeList" disabled="disabled">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">含税<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <select class="form-control" id="includeTax" ng-model="includeTax" name="includeTax" ng-options="x.value as x.text for x in includeTaxList" disabled="disabled">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">应收说明</label>
                                        <div class="col-lg-6">
                                            <input type="text" id="receivable_remarks" class="form-control " ng-model="receivableRemarks" disabled="disabled" name="receivableRemarks">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">结算单位<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input type="text" id="reckoner" class="form-control " ng-model="reckoner" disabled="disabled" name="reckoner">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程名称</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="project_name" class="form-control " ng-model="projectName" disabled="disabled" name="projectName">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程编号</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="project_code" class="form-control " ng-model="projectCode" disabled="disabled" name="projectCode">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程总量</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="project_total" class="form-control " ng-model="projectTotal" disabled="disabled" name="projectTotal">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <select class="form-control" id="goodsQuantityUnit" ng-model="projectTotalUnit" ng-options="x.value as x.text for x in projectTotalUnitList" disabled="disabled">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货单位</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="take_goods_company" class="form-control " ng-model="takeGoodsCompany" disabled="disabled" name="takeGoodsCompany">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货人</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="consignee" class="form-control " ng-model="consignee" disabled="disabled" name="consignee">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货人号码</label>
                                        <div class="col-lg-3">
                                            <input type="text" id="consignee_phone" class="form-control " ng-model="consigneePhone" disabled="disabled" name="consigneePhone">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货单号</label>
                                        <div class="col-lg-3">
                                            <input type="text" class="form-control " ng-model="shipOrderId" disabled="disabled" name="shipOrderId">
                                        </div>
                                    </div>
                                </div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal fade bs-example-modal-lg" id="location" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lgg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="locationModalLabel">定位</h4>
                                </div>

                                <div class="modal-body">
                                    <div ui-view="location"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    
     <!-- imgrotate model -->
     <tms-img-rotate src="selectedImgSrc"></tms-img-rotate>
    
</div>